package com.aizhixin.lab.statistics.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class CourseStudyCaseDomain {
    @ApiModelProperty(value = "课程id")
    private String id;
    @ApiModelProperty(value = "课程名称")
    private String courseName;
    @ApiModelProperty(value = "最近学习时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date studyTime;
    @ApiModelProperty(value = "学习进度")
    private Integer studyCase;
    @ApiModelProperty(value = "任务平均成绩")
    private Integer avgTaskScore;
    @ApiModelProperty(value = "实验报告平均成绩")
    private Integer avgReportScore;
    @ApiModelProperty(value = "任务完成数")
    private Integer commitTaskNum;
    @ApiModelProperty(value = "报告完成数")
    private Integer commitReportNum;
    @ApiModelProperty(value = "图片")
    private String courseImage;

}
